//
//  HNSH_ExchangeNetServer.h
//  HNSH_SingleProject
//
//  Created by 李宇廷 on 2023/4/4.
//

#import <Foundation/Foundation.h>
#import "ST_BaseNetManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface HNSH_ExchangeNetServer : NSObject

#pragma mark 积分好礼
// 签到数据
+ (NSURLSessionTask *)requestJFHLMainConfigWithKey:(NSString *)key success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;

/** 兑换产品价格配置
 类型 充值话费  */
+ (NSURLSessionTask *)requestExchangeProductPhoneConfigSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;

/** 兑换产品价格配置
 类型 充值油卡 */
+ (NSURLSessionTask *)requestExchangeProductYouKaConfigSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;

/** 兑换产品提交 */
+ (NSURLSessionTask *)requestExchangeProductSubmitWithInfo:(NSDictionary *)info success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


// 兑换产品记录
+ (NSURLSessionTask *)requestExchangeProductOrderListWithPage:(NSInteger)pageNum success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


#pragma mark 任务中心
// 任务中心
+ (NSURLSessionTask *)requestQuestHomeDataSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


// 任务列表
+ (NSURLSessionTask *)requestQuestConfigsSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;



//任务兑换
+ (NSURLSessionTask *)requestQuestReceiveWithQuestId:(NSString *)questId type:(NSInteger)type quantity:(NSString *)quantity pay_password:(NSString *)pay_password success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


// 我的任务
//查询类型 1:我的任务 2:历史任务
+ (NSURLSessionTask *)requestQuestReceiveListWithPage:(NSInteger)pageNum type:(NSInteger)type success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


//任务兑换
+ (NSURLSessionTask *)requestQuestProgressWithKey:(NSString *)key success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


// 通证信息
+ (NSURLSessionTask *)requestCapitalHdcDataInfoSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


// 通证兑现配置
+ (NSURLSessionTask *)requestCapitalHdcSwapConfigSuccess:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


//通证兑现申请
//type 类型 1：现金余额 2：冻结能量
+ (NSURLSessionTask *)requestCapitalHdcSwapApplyWithAmount:(NSString *)amount sms_code:(NSString *)sms_code type:(NSInteger)type success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;


//通证计算
+ (NSURLSessionTask *)requestCapitalHdcSwapCalculationWithAmount:(NSString *)amount type:(NSInteger)type success:(ST_DataRequestSuccess)success Failure:(ST_RequestFailure)failure;



@end

NS_ASSUME_NONNULL_END
